package org.example.shop;

public class Goods {
    private String goodsNum;
    private String goodsName;
    private String factory; private String date;
    private String num;
    private double buyPrice;
    private double retailPrice;
    private int total;

    public Goods(String goodsNum, String goodsName, String factory, String date, String num, double buyPrice, double retailPrice, int total) {
        this.goodsNum = goodsNum;
        this.goodsName = goodsName;
        this.factory = factory;
        this.date = date;
        this.num = num;
        this.buyPrice = buyPrice;
        this.retailPrice = retailPrice;
        this.total = total;
    }

    public Goods() {
    }

    public String getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsNum = goodsNum;
    }

    public String getGoodsName() {        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }public double getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(double buyPrice) {
        this.buyPrice = buyPrice;
    }

    public double getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(double retailPrice) {
        this.retailPrice = retailPrice;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
